package com.xiang;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import xiang.clients.InfoClient;
import xiang.clients.fallBack.InfoClientFallBackFactory;

/**
 * @author xiangtianlei
 * @date 2024/04/16
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(clients = InfoClient.class, defaultConfiguration = InfoClientFallBackFactory.class)
public class UserServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserServiceApplication.class, args);
    }
}
